package com.xyy.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;
import com.fasterxml.jackson.annotation.JsonIgnore;

/**
 * 推文点赞DTO
 */
@Data
public class PushLikeDTO {

    /**
     * 推文ID
     */
    @NotNull(message = "推文ID不能为空")
    private Long pushId;

    /**
     * 用户ID
     */
    @JsonIgnore
    private Long userId;
}
